package com.ruoyi.project.mgcmanage.service;

import com.ruoyi.project.mgcmanage.domain.Supplier;

import java.util.List;

public interface ISupplierService {

    //分页查询供应商
    List<Supplier> selectAll(Supplier supplier);

    //添加供应商
    int addSupplier(Supplier supplier);

    //数据回显
    Supplier selectById(int sid);

    //修改供应商
    int updateSupplier(Supplier supplier);

    //删除供应商
    int delete(int[] sids);

    //查询所有供应商名称
    List<Supplier> selectSupplierNames();
}
